package com.ytkj.tradeserver.controller.admin;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

public interface IAdminController {
	

	public String index(HttpServletRequest  request);


	public Map<String,String> login( String username,  String userpass);

	public String productlist();
	

    public String addproduct();


	public String pushorder();
	

	public String applist();
	

	public String userlist();
	

	public String adlist();
	

	public String loglist();
	

	public String adduser();
	

	public String register(@RequestParam(value="username",defaultValue="") String username,
			@RequestParam(value="userpass",defaultValue="") String userpass,
			@RequestParam(value="phone",defaultValue="") String tel,
			@RequestParam(value="email",defaultValue="") String email);


	public String addApp();




	public String appUdload();


	public String uploadproduct(@RequestParam(value="pname",defaultValue="") String pname,
								@RequestParam(value="pappid",defaultValue="")	String pappid,
								@RequestParam(value="psource",defaultValue="") String psource,
								@RequestParam(value="pcontact",defaultValue="") String pcontact,
								@RequestParam(value="tel",defaultValue="") String tel,
								@RequestParam(value="purl",defaultValue="") String purl,
								@RequestParam(value="pdesc",defaultValue="") String pdesc);

}
